import {createApp} from 'vue'
import App from "./App.vue"
//等价于import vuex from './store/index.js.js'
import store from './store'
//全局引入axios
import axios from 'axios'
const app = createApp(App)
//把store加入到应用中，和路由一样使用
app.use(store)
//在vue中使用:   this.$axios.get('http://').then(res => {})
app.config.globalProperties.$axios = axios
app.mount('#app')
